package com.youlu.campus.web.user.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户登录请求类
 *
 * @author: YangJ
 * @date: 2018/9/11 11:51
 */
@Data
public class UserLoginRequest {

    @NotBlank(message = "账号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
